<<<<<<< HEAD
<?php
header("Content-Type: text/html;charset=utf-8");
include_once './includes/res.php';
include_once './includes/header.php';
?>
<div class="container">
    <div class="row">
    <?php 
    include_once './widgets/w_poster.php';
    require_once './service/UserService.php';
    $service = new UserService();
    if (!$service->isAuthed()) {
        include_once './widgets/w_register.php';
    }
    ?>
    </div>
    <!--  
    <div>
        <a id="test1" href="#dialog1">Click Me</a>
    </div>
    -->
</div>
<div style="display: none;">
    <div id="dialog1">
        <?php 
        include './widgets/w_register.php';
        ?>
    </div>
</div>
<?php 
include_once './includes/footer.php';
?>
<script type="text/javascript">
var islogin = '<?php echo $service->isAuthed();?>';
</script>
<script type="text/javascript">
$(function() {
	$("#test1").fancybox({
		'titlePosition':'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
	if (islogin) {
	    $('#poster img').animate({
	        left: '+=150'
	    }, 800, function() {
	    });
    }
});
=======
<?php
header("Content-Type: text/html;charset=utf-8");
include_once './includes/res.php';
include_once './includes/header.php';
?>
<div class="container">
    <div class="row">
    <?php 
    include_once './widgets/w_poster.php';
    require_once './service/UserService.php';
    $service = new UserService();
    if (!$service->isAuthed()) {
        include_once './widgets/w_register.php';
    }
    ?>
    </div>
    <!--  
    <div>
        <a id="test1" href="#dialog1">Click Me</a>
    </div>
    -->
</div>
<div style="display: none;">
    <div id="dialog1">
        <?php 
        include './widgets/w_register.php';
        ?>
    </div>
</div>
<?php 
include_once './includes/footer.php';
?>
<script type="text/javascript">
var islogin = '<?php echo $service->isAuthed();?>';
</script>
<script type="text/javascript">
$(function() {
	$("#test1").fancybox({
		'titlePosition':'inside',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
	if (islogin) {
	    $('#poster img').animate({
	        left: '+=150'
	    }, 800, function() {
	    });
    }
});
>>>>>>> 20d6c557d209a3f376420616f57b4bd953611975
</script>